package com.original.simuladoresws.ws;

import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;
import javax.jws.soap.SOAPBinding.Use;

import com.original.simuladoresws.controller.ObjectiveCalculateController;
import com.original.simuladoresws.entities.soap.SOAPObjectiveCalculateInput;
import com.original.simuladoresws.entities.soap.SOAPObjectiveCalculateOutput;

@WebService(serviceName="/ObjectiveCalculateService")
@SOAPBinding(style = Style.RPC, use = Use.LITERAL)
public class ObjectiveCalculateService{
	ObjectiveCalculateController controller = new ObjectiveCalculateController();
	
    @WebMethod(operationName="objectiveCalculate")
    public SOAPObjectiveCalculateOutput objectiveCalculate(SOAPObjectiveCalculateInput input) {
        return controller.getObjectiveCalculate(input);
    }
}
